<div class="portlet box green form">
	<div class="portlet-title">
		<div class="caption">
			<i class="fa fa-cogs"></i>
			订单 &gt; 售后管理 &gt; 售后服务 &gt; 详情
		</div>
		<div class="tools">
			<a href="javascript:;" class="collapse" data-original-title="" title=""> </a>
		</div>
	</div>
	<div class="portlet-body">
		<div class="tabbable-line ">
			<ul class="nav nav-tabs ">
				<li>
					<a href="/afterMarketOrder/show?id=$!amOrderId" class="ajaxify">订单信息</a>
				</li>
				<li class="active">
					<a href="/amOrderItem/list?amOrderId=$!amOrderId" class="ajaxify">订单货品</a>
				</li>
				<li>
					<a href="/amOrderLog/orderLogs?amOrderId=$!amOrderId" class="ajaxify">订单日志</a>
				</li>
			</ul>

			<div class="tab-content">
				<div class="tab-pane active form">
					<div class="form-body">
						<h3 class="form-section">售后信息</h3>
						<div class="dataTables_wrapper no-footer">
							<div class="table-scrollable">
								<table class="table table-striped table-bordered table-hover">
									<tbody>
										<tr>
											<th>货品编码</th>
											<th>货品名称</th>
											<th>规格</th>
											<th>分类</th>
											<th>品牌</th>
											<th>市场价</th>
											<th>购买价格</th>
											<th>货品积分</th>
											<th>购买数量</th>
										</tr>
									</tbody>
									<tbody>
										#foreach($item in $itemPage.result) 
										#set($sku = $skuMap.get($item))
										#set($product = $sku.product)
										<tr>
											<td>$!sku.code</td>
											<td>$!item.productName</td>
											<td>$!item.attrAndAttrValues</td>
											<td>$!product.category.name</td>
											<td>$!product.brand.name</td>
											<td>$!item.ordinaryPrice</td>
											<td>$!item.price</td>
											<td>$!item.score</td>
											<td>#set($!item.quantity=$!item.quantity/$!sku.translateRate)
												$!item.quantity
											</td>
										</tr>
										#end
									</tbody>

								</table>
							</div>
							#set($page=$itemPage) 
							#set($pageUrl="/amOrderItem/list?amOrderId=$!amOrderId&pageNo=") 
							#parse("_page.htm")

						</div>


					</div>
				</div>

			</div>

		</div>
	</div>
</div>